<?php
/**
 * Created by PhpStorm.
 * User: lelouchms
 * Date: 2019/3/28
 * Time: 21:12
 */

namespace app\backend\controller\common\v1;

use app\backend\controller\BackendController;
use app\common\exception\AuthenticationException;

class Data extends BackendController
{

    protected $denyActions = [
        "reverseStatus", "delete", "index", "findById"
    ];


    public function countryCode()
    {
        $countryCode = file_get_contents(dirname(APP_PATH) . "/public/assets/json/country.json");
        return $this->ok(json_decode($countryCode, true));
    }


}